package com.xxxx.server.service;

import com.xxxx.server.pojo.Employee;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xxxx.server.pojo.ResPageBean;
import com.xxxx.server.pojo.RespBean;

import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author deng
 * @since 2022-01-01
 */
public interface IEmployeeService extends IService<Employee> {
    //获取所有员工（分页）
    ResPageBean getEmployeeByPage(Integer currentPage, Integer size, Employee employee, LocalDate[] beginDateScope);
    //获取最大工号
    RespBean maxWorkID();
    //添加员工
    RespBean addEmp(Employee employee);
    //查询员工
    List<Employee> getEmployee(Integer id);
    //获取员工工资账套
    ResPageBean getEmployeeSalary(Integer currentPage, Integer size);
}
